package sivin.uikit.framework

import android.content.Context
import android.util.AttributeSet
import android.view.View

class StatusBar @JvmOverloads constructor(
    context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0
) : View(context, attrs, defStyleAttr) {
    override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
        val width = MeasureSpec.getSize(widthMeasureSpec)
        setMeasuredDimension(width, SystemUI.mStatusBarHeight)
    }
}